<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>所有学生</title>
</head>
<body>
  <h2>学生信息列表</h2>
  <table border="1">
    <tr>
      <th>学号</th>
      <th>姓名</th>
      <th>成绩</th>
    </tr>
    {% for student in students %}
    <tr>
      <td>{{ student.id }}</td>
      <td>{{ student.name }}</td>
      <td>{{ student.score }}</td>
    </tr>
    {% endfor %}
  </table>
  <br>
  <a href="{{ url_for('home') }}">返回首页</a>
</body>
</html>